<!DOCTYPE html>
<html>
    <title>轮播demo</title>
    <head>
        <link rel="stylesheet" type="text/css"  href="./test.css"> 
    </head>
    <body>
        <div id="mainContent">
            <div class="op" onclick="pre()"><</div>
            <div id="imgs">
                <img src="./imgs/1.jpg">
                <img src="./imgs/2.jfif">
                <img src="./imgs/3.jfif">
            </div>
            <div class="op" onclick="next()">></div>
        </div>
        
    </body>
    <script src="./test.js"></script>
</html>
<!DOCTYPE html>